# def shi():
#     print ("蜀道难")
#     print("噫吁嚱，危乎高哉，蜀道之难，难于上青天。")
#     print("蚕丛及鱼凫，开国何茫然。")
#
# shi()

#
# def add():
#     a, b = 8, 9
#     s = a * b
#     print("a和b的积为：",s)
#     return a+b
#
# c=add()
# print(c)

def add(a,b):
    print(a,b)

add(1,3)
c=7
d=9
add(c,d)
add(4*5,9%3)

e=0
add(8,e*4+3)

def sc(a, b, c):
    print("赵海涛的成绩为：", a)
    print("商振飞的成绩为:", b)
    print("冯浩榜的成绩为：", c)


# sc(98, 50, 30)
sc(c=30,b=50,a=98)

def reg(name,age,sex="女"):
    print("姓名：{}年龄：{}性别：{}".format(name, age, sex))

reg('小丽', 20)
reg('小张', 21, '男')


# def far(param):
#     pass
#
#
# def fav(*fr):
#     print("我喜欢吃的水果是：")
#     for i in fr:
#         print(i)
#
# fav("西瓜")
# fav("西瓜,葡萄,菠萝")
# fav("西瓜,葡萄,菠萝,梨,草莓")
#
# def show(a,b,*l):
#     print(a)
#     print(b)
#     print(l)
# show(3,4,8,99,999,999,9999,99999,999999)


#
# def rect():
#     a=int(input("请输入矩形的长："))
#     b=int(input("请输入矩形的宽："))
#     s=a*b
#     c=2*(a+b)
#     print("矩形的面积为",s)
#     print("矩形的周长为",c)
#     rectangle()\

# def re (a,b,c,d):
#     return a+b ,c*d ,b-a
#
# sb=re(3,6,9,7)
# print(sb)
#
# def fu():
#     a=20
#     return a
#
# a=1
# print(a)
# c=fu()
# print(c)

# def f(n):
#     if n <= 1:
#         return 1
#     else:
#         return n * f(n - 1)
#
#
# num = int(input("请输入一个整数："))
# s = f(num)
# print(num, "的阶乘是：", s)

# def su(n):
#     if n!=1:
#         return n+su(n-1)
#     else:
#         return 1
# print(su(120))

# def fibo(n):
#     if n <=2:
#         return 1
#     else:
#         return fibo(n-1)+fibo(n-2)
#
#
# print("斐波那契数列的第{}项为{}".format(15),fibo(15))
#
# sum =lambda a,b,c: a+b+c
# print(sum(1,2,3))
# fun=lambda  m:m **2
# print(fun(5))